package com.godpaper.as9.control
{
	import com.adobe.cairngorm.control.FrontController;
	import com.godpaper.as9.commands.GetAlbumInfoCommand;
	import com.godpaper.as9.commands.GetAlbumListCommand;
	import com.godpaper.as9.commands.TryCreateAlbumCommand;
	import com.godpaper.as9.commands.TryDeleteAlbumCommand;

	public class AlbumController extends FrontController
	{
		public static const GET_ALBUM_LIST:String 	= "getAlbumList";
		public static const GET_ALBUM_INFO:String 	= "getAlbumInfo";
		public static const TRY_CREATE_ALBUM:String = "tryCreateAlbum";
		public static const TRY_DELETE_ALBUM:String = "tryDeleteAlbum";
		
		public function AlbumController()
		{
			super();
			addCommand(AlbumController.GET_ALBUM_LIST,GetAlbumListCommand);
			addCommand(AlbumController.GET_ALBUM_INFO,GetAlbumInfoCommand);
			addCommand(AlbumController.TRY_CREATE_ALBUM,TryCreateAlbumCommand);
			addCommand(AlbumController.TRY_DELETE_ALBUM,TryDeleteAlbumCommand);
		}
		
	}
}